﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OpenQA.Selenium;

namespace CERT.PageLibrary.Assertions {
	class AssertElementPresentException : AssertionExceptionBase {
		string _elementDescription;
		const string BASIC_MESSAGE = "The expected element could not be found.";

		public AssertElementPresentException(string elementDescription)
			: base(BASIC_MESSAGE) {
				_elementDescription = elementDescription;
		}

		protected override string InternalMessage { get { return BASIC_MESSAGE + " Element [" + _elementDescription + "]"; } }

	}
}
